<template>
  <div class="page">
    <slot></slot>
  </div>
</template>
<script>
import BScroll from 'better-scroll'
export default {
  name: 'page',
  mounted () {
    let scroll = new BScroll('.page', {
      scrollY: true,
      click: true
    })
    console.log(scroll)
  }
}
</script>
<style lang="scss" scoped>
  .page{
    height: 100%;
  }
</style>
